package io.xccit.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Xccit
 * @Date 2023-01-16
 * @Description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Person {
    private Integer id;
    private String username;
    private String password;
    private String gender;
    private Integer age;
    public void sayHello(){
        System.out.println("Hello SpringFrameWork!");
    }
    /*    public User(Integer id, String username, String password, String gender, Integer age) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.gender = gender;
        this.age = age;
    }*/

}
